package com.erpoa.annotation;

import com.erpoa.constants.DataSourceNames;

import java.lang.annotation.*;

/**
 * @description:
 * @author: jamin.chen
 * @createDate: 2020/1/7 15:08
 * @version: 1.0
 */
@Documented
//@Target({ElementType.METHOD})
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface DataBase {
    String value()   default DataSourceNames.ERP;
}